package com.xquant.marketdata.marketdata.domain;

import java.math.BigDecimal;
import com.xquant.common.core.annotation.Excel;

/**
 * 指数成分对象 tidx_component
 *
 * @author zipeng.li
 * @date 2022-03-09
 */
public class TidxComponentDTO
{
    /** 交易代码 */
    @Excel(name = "指数代码")
    private String iCode;

    /** 资产类型 */
    @Excel(name = "资产类型",dictType = "A_TYPE")
    private String aType;

    /** 市场类型 */
    @Excel(name = "市场类型",dictType = "M_TYPE")
    private String mType;

    /** 生效日期 */
    @Excel(name = "生效日期")
    private String begDate;

    /** 失效日期 */
    @Excel(name = "失效日期")
    private String endDate;

    /** 成分金融工具代码 */
    @Excel(name = "成分金融工具代码")
    private String compICode;

    /** 成分资产类型 */
    @Excel(name = "成分资产类型")
    private String compAType;

    /** 成分市场类型 */
    @Excel(name = "成分市场类型")
    private String compMType;

    /** 成分权重 */
    @Excel(name = "成分权重")
    private BigDecimal compWeight;

    /** 成分金融工具价格 */
    @Excel(name = "成分金融工具价格",cellType = Excel.ColumnType.MONEY,scale = 4)
    private BigDecimal compPrice;

    /** 复合指数整体浮动BP，0：不是；1：是，不考虑权重 */
    @Excel(name = "复合指数整体浮动BP")
    private String compIsBp;

    public String getiCode() {
        return iCode;
    }

    public void setiCode(String iCode) {
        this.iCode = iCode;
    }

    public String getaType() {
        return aType;
    }

    public void setaType(String aType) {
        this.aType = aType;
    }

    public String getmType() {
        return mType;
    }

    public void setmType(String mType) {
        this.mType = mType;
    }

    public String getBegDate() {
        return begDate;
    }

    public void setBegDate(String begDate) {
        this.begDate = begDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getCompICode() {
        return compICode;
    }

    public void setCompICode(String compICode) {
        this.compICode = compICode;
    }

    public String getCompAType() {
        return compAType;
    }

    public void setCompAType(String compAType) {
        this.compAType = compAType;
    }

    public String getCompMType() {
        return compMType;
    }

    public void setCompMType(String compMType) {
        this.compMType = compMType;
    }

    public BigDecimal getCompWeight() {
        return compWeight;
    }

    public void setCompWeight(BigDecimal compWeight) {
        this.compWeight = compWeight;
    }

    public BigDecimal getCompPrice() {
        return compPrice;
    }

    public void setCompPrice(BigDecimal compPrice) {
        this.compPrice = compPrice;
    }

    public String getCompIsBp() {
        return compIsBp;
    }

    public void setCompIsBp(String compIsBp) {
        this.compIsBp = compIsBp;
    }
}
